// 数据处理
export const afterFunStr = 'function (data) {\n\tconsole.info(data); \n\treturn data\n}'
// 组件加载完成
export const readyFunStr = 'function (data) {\n\tconsole.info(data); \n\treturn data\n}'
export const tdRenderFunStr = 'function (h, row, col, rowIndex) {\n\t return h(\'a\', {style: {color: \'#F00\'}}, [row[col.prop]])  \n}\n'
export const funEval = (value) => {
  return new Function('return ' + value + ';')();
}
